namespace ext.grid
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// This is a utility class that can be passed into a {@link Ext.grid.ColumnModel} as a column config that provides
	/// an automatic row numbering column.
	/// </summary>
	/// <htmlSummary>
	/// This is a utility class that can be passed into a {@link Ext.grid.ColumnModel} as a column config that provides
	/// an automatic row numbering column.
	/// &lt;br&gt;Usage:&lt;br&gt;
	/// &lt;pre&gt;&lt;code&gt;
	/// // This is a typical column config with the first column providing row numbers
	/// var colModel = new Ext.grid.ColumnModel([
	/// new Ext.grid.RowNumberer(),
	/// {header: &quot;Name&quot;, width: 80, sortable: true},
	/// {header: &quot;Code&quot;, width: 50, sortable: true},
	/// {header: &quot;Description&quot;, width: 200, sortable: true}
	/// ]);
	/// &lt;/code&gt;&lt;/pre&gt;
	/// </htmlSummary>
	/// <definedin>src\widgets\grid\RowNumberer.js</definedin>
	[ScriptName("RowNumberer")]
	[ScriptNamespace("Ext.grid")]
	[Imported()]
	public partial class RowNumberer
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		/// <param name="config">The configuration options</param>
		public RowNumberer(ext.grid.RowNumberer_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		public RowNumberer()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>
		/// Any valid text or HTML fragment to display in the header cell for the row
		/// number column (defaults to &apos;&apos;).
		/// </summary>
		/// <definedin>src\widgets\grid\RowNumberer.js</definedin>
		[ScriptName("header")]
		public string Header;
		
		/// <summary>The default width in pixels of the row number column (defaults to 23).</summary>
		/// <definedin>src\widgets\grid\RowNumberer.js</definedin>
		[ScriptName("width")]
		public System.Number Width;
		
		/// <summary>True if the row number column is sortable (defaults to false).</summary>
		/// <definedin>src\widgets\grid\RowNumberer.js</definedin>
		[ScriptName("sortable")]
		public bool Sortable;
		#endregion
	}
}
